<?php
date_default_timezone_set('America/Argentina/Buenos_Aires');

@session_start();

// include "../include/config.php";
// include "../include/db.php";
// include "../include/funciones.php";
 
echo "<br/>";
echo "malone code usuario logueado: ".$_SESSION['user_name'] ;

echo "<br/>";
echo "AHORA: ".date("d/m/Y H:i:s"); 

echo "<br/>";
echo "<pre>";
print_r($_SESSION);
echo "</pre>";

/*
$sql="SELECT	motivo as nombre FROM vw_motivo_rep_dep WHERE id_rep_dep=810455";
$result = mysql_query($sql)  or trigger_error(mysql_error()); 
$array_motivo =  recursoToRecordset($result, false);
  
echo "<pre>";  
print_r($array_motivo);
echo "</pre>";
*/

/*
$f1 = date_create('2009-10-11 14:30:20');
$f2 = date_create('2009-05-10 15:18:15');

$intervalo = date_diff($f1, $f2);

echo $intervalo->format("%h %i");
  */ 
  
?>

